package com.kangtu.demoaskpager.ask.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 智能问答答案表
 * </p>
 *
 * @author david
 * @since 2021-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TbPaperAnswer implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "paper_ans_id", type = IdType.AUTO)
    private Long paperAnsId;

    /**
     * 疾病问题id
     */
    private Long paperId;

    /**
     * 答案id
     */
    private Long ansId;

    /**
     * 风险因素id
     */
    private Long riskId;

    /**
     * 选项分数
     */
    private BigDecimal score;

    /**
     * 下一疾病问题id
     */
    private Long nextPaperId;

    /**
     * 删除状态0：未删除1：删除
     */
    private Integer delFlag;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


}
